<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>保存结果</title>
<base href="<%=basePath%>">
<meta name="description" content="overview & stats" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<script type="text/javascript" src="static/js/jquery-1.7.2.js"></script>
	<!-- 引入 -->
	<script src="static/1.9.1/jquery.min.js"></script>
	<script type="text/javascript">window.jQuery || document.write("<script src='static/js/jquery-1.9.1.min.js'>\x3C/script>");</script>
	<script src="static/js/bootstrap.min.js"></script>
	<script src="static/js/ace-elements.min.js"></script>
	<script src="static/js/ace.min.js"></script>

	<script type="text/javascript" src="static/js/bootbox.min.js"></script><!-- 确认窗口 -->

	<style type="text/css">
		body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
		div.dialog {
			width: 300px;
			padding: 1em 4em;
			margin: 4em auto 0 auto;
			border: 1px solid #ccc;
			border-right-color: #999;
			border-bottom-color: #999;
		}
		h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
	</style>
</head>
<body>
	<div id="zhongxin"></div>
	<div class="dialog">
		<h1 id="title"></h1>
		<p id="content"></p>
		<p><a href="javascript:showErr();">详 情</a>
			<a href="javascript:history.back(-1)">返 回</a>
		</p>
		<div style="display:none;text-align: left;" id="err">${msg }</div>
	</div>
	<script type="text/javascript">

        $(document).ready(function () {

            $(top.hangge());
            var msg = "${msg}";

            if(msg=="success" || msg==""){
				//alert("操作成功");
               // top.Dialog.close();


				var temp0="操作成功";
                $("#title").append(temp0);


            }else{
               // alert("操作失败");

                var temp1="应用程序异常";
                $("#title").append(temp1);

                var temp2="抱歉！您访问的页面出现异常，请稍后重试或联系管理员。";
                $("#content").append(temp2);
            }

        });

        function showErr(){
            //alert("5555");
            document.getElementById("err").style.display = "block";
        }



	</script>
<div id="excel"></div>
</body>
</html>